﻿using System;
using System.Collections.Generic;
using System.Text;

namespace RealState.BusinessObjects
{
    [Serializable()]
    public class VwContents
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public string ImgPath { get; set; }
        public string CityName { get; set; }
        public string DistrictName { get; set; }
        public string Code { get; set; }
        public long Price { get; set; }
        public int CategoryId { get; set; }
        public string TradeType { get; set; }
        public string CreatedTime { get; set; }
        public string CategoryName { get; set; }
        public string CompanyName { get; set; }
        public string CompanyAddress { get; set; }
        public string CompanyTel { get; set; }
        public string CompanyFax { get; set; }
        public string CompanyEmail { get; set; }
        public string Website { get; set; }
        public string BusinessOwner { get; set; }
        public string TaxCode { get; set; }
        public string StartTime { get; set; }
        public string Status { get; set; }
        public string Description { get; set; }
        public string Revenue { get; set; }
        public string LastRevenue { get; set; }
        public string AnnualProfit { get; set; }
        public string LastAnualProfit { get; set; }
        public string Assets { get; set; }
        public string SaleType { get; set; }
        public string Reason { get; set; }
        public string Auction { get; set; }
        public string TransType { get; set; }
        public string ProjectTitle { get; set; }
        public string Investor { get; set; }
        public string Location { get; set; }
        public string Note { get; set; }
        public string IsSpecial { get; set; }
        public int UserID { get; set; }
        public string Duration { get; set; }
        public string Content { get; set; }
        public string ContentType { get; set; }
        public string FullName { get; set; }
        public string Position { get; set; }
        public string Mobile { get; set; }
        public string Email { get; set; }
        public string Address { get; set; }
        public int DistrictID { get; set; }
        public int CityId { get; set; }

        public VwContents() { }
        public VwContents(int Id, string Title, string ImgPath, string CityName, string DistrictName, long Price, int CategoryId, string TradeType, string Code, string CreatedTime)
        {
            this.Id = Id;
            this.Title = Title;
            this.ImgPath = ImgPath;
            this.CityName = CityName;
            this.DistrictName = DistrictName;
            this.Price = Price;
            this.CategoryId = CategoryId;
            this.TradeType = TradeType;
            this.Code = Code;
            this.CreatedTime = CreatedTime;
        }

    }
}
